<?php

/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of BSGroup
 *
 * @author jianfeng
 */
class BSGroup extends BGroup{
    //put your code here
    public function getModelClass($data = NULL) {
        $class = get_class($this);
        $mClass = preg_replace("/^BS/", 'BSM', $class);
        return $mClass;
    }
    
    public function getMemberModelClass($data = NULL) {
        return $this->getModelClass() . 'Member';
    }
}
